From: Richard M. Stallman Date: Tue, 25 May 1993 19:05:13 +0000 (+0000) Subject: (dired-compress-file): Test the return value X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~95971 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=730426aeb14844bcd6fe594d20c967bb8ec7a89f;p=emacs.git (dired-compress-file): Test the return value of dired-check-process properly. Fix use of nonexistent var `name'. --- diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el index f8503f2d07f..3d2f477962c 100644 --- a/lisp/dired-aux.el +++ b/lisp/dired-aux.el @@ -493,7 +493,7 @@ and use this command with a prefix argument (the value does not matter)." (t (if (not (dired-check-process (concat "Compressing " file) "compress" "-f" file)) - (concat name ".Z")))))) + (concat file ".Z")))))) (defun dired-mark-confirm (op-symbol arg) ;; Request confirmation from the user that the operation described